package com.kevin.springboot.demos.service;

import com.kevin.springboot.demos.domain.OrderInfo;
import com.kevin.springboot.demos.exception.ServiceException;

import java.io.OutputStream;
import java.util.List;

/**
 * 订单服务
 * @author: wangyong
 * @date: 2019/8/17 12:01
 */
public interface OrderService {

	/**
	 * 订单列表
	 */
	List<OrderInfo> getOrderList(String limit);


	/**
	 * 获取商户订单凭证
	 */
	void getMerchantVoucher(List<OrderInfo> orderInfoList, OutputStream outputStream) throws ServiceException;

}
